//
//  CZMessage.h
//  QQ
//
//  Created by MAC on 16-3-10.
//  Copyright (c) 2016年 MAC. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    CZMessageTypeMe = 0,
    CZMessageTypeOther = 1
}CZMessageType;


@interface CZMessage : NSObject

//消息正文
@property(nonatomic,copy)NSString* text;
//消息发送时间
@property(nonatomic,copy)NSString* time;
//消息的类型(用枚举)
@property(nonatomic,assign)CZMessageType type;

-(instancetype)initWithDict:(NSDictionary*)dict;
+(instancetype)messageWithDict:(NSDictionary*)dict;

@end
